﻿using IdentityServer4.EntityFramework.Entities;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;

namespace Identity.API.Services
{
    public interface IUserClaimsRepository
    {
        Task AddAsync(Microsoft.AspNetCore.Identity.IdentityUserClaim<string> userClaim);
        void Update(Microsoft.AspNetCore.Identity.IdentityUserClaim<string> userClaim);
        Task<Microsoft.AspNetCore.Identity.IdentityUserClaim<string>> FindByIdAsync(int claimsId);
        Task<Microsoft.AspNetCore.Identity.IdentityUserClaim<string>> FindByUserIdAsync(string userId);
        void DeleteById(Microsoft.AspNetCore.Identity.IdentityUserClaim<string> userClaim);
    }
}
